build: Add distcheck configure flags to fix systemd and bash-completion
authorPhilip Withnall <withnall@endlessm.com>
Tue, 22 Aug 2017 17:32:43 +0000 (18:32 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 22 Aug 2017 17:37:48 +0000 (17:37 +0000)
commite3a4049c247ec5435e2c0967e24802551536bc45
treeaab1f9a56876afe3e2ac974294f195e1f3e50ba5
parent19429b1a26d29c26e436ac34599897211fb6d86a
build: Add distcheck configure flags to fix systemd and bash-completion

When running distcheck, the systemd system-generator and bash-completion
scripts are installed in absolute paths (/usr and /lib) as looked up
from their pkg-config files. This breaks distcheck. Use a
${prefix}-relative path for both of them when configuring for distcheck.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #1103
Approved by: cgwalters
Makefile-bash.am
Makefile-switchroot.am